package com.funny.stock.trade.dao.pojo;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description  
 * @Author  pengl
 * @Date 2020-05-17 
 */

@Entity
@Table ( name ="t_compose_stock_item" )
public class ComposeStockItemDO  implements Serializable {

	private static final long serialVersionUID =  1465750129245104650L;

	/**
	 * ID
	 */
   	@Column(name = "id" )
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Id
	private Long id;

	/**
	 * 组合ID
	 */
   	@Column(name = "compose_id" )
	private Long composeId;

	/**
	 * 股票代码
	 */
   	@Column(name = "stock_code" )
	private String stockCode;

	/**
	 * 股票名称
	 */
   	@Column(name = "stock_name" )
	private String stockName;

   	@Column(name = "stock_market" )
	private String stockMarket;

	/**
	 * 成本价
	 */
   	@Column(name = "cost_price" )
	private BigDecimal costPrice;

	/**
	 * 股票数目
	 */
   	@Column(name = "stock_number" )
	private Long stockNumber;


	@Column(name = "stock_capital" )
	private BigDecimal stockCapital;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_time" )
	private Date createTime;

	/**
	 * 创建ID
	 */
   	@Column(name = "create_id" )
	private Long createId;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_time" )
	private Date updateTime;

	/**
	 * 更新ID
	 */
   	@Column(name = "update_id" )
	private Long updateId;

	public String getStockMarket() {
		return stockMarket;
	}

	public void setStockMarket(String stockMarket) {
		this.stockMarket = stockMarket;
	}

	/**
	 * 1已删除
	 */
//   	@Column(name = "is_delete" )
//	private Integer isDelete;



	public BigDecimal getStockCapital() {
		return stockCapital;
	}

	public void setStockCapital(BigDecimal stockCapital) {
		this.stockCapital = stockCapital;
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getComposeId() {
		return this.composeId;
	}

	public void setComposeId(Long composeId) {
		this.composeId = composeId;
	}

	public String getStockCode() {
		return this.stockCode;
	}

	public void setStockCode(String stockCode) {
		this.stockCode = stockCode;
	}

	public String getStockName() {
		return this.stockName;
	}

	public void setStockName(String stockName) {
		this.stockName = stockName;
	}

	public BigDecimal getCostPrice() {
		return this.costPrice;
	}

	public void setCostPrice(BigDecimal costPrice) {
		this.costPrice = costPrice;
	}

	public Long getStockNumber() {
		return this.stockNumber;
	}

	public void setStockNumber(Long stockNumber) {
		this.stockNumber = stockNumber;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getCreateId() {
		return this.createId;
	}

	public void setCreateId(Long createId) {
		this.createId = createId;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getUpdateId() {
		return this.updateId;
	}

	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
//
//	public Integer getIsDelete() {
//		return this.isDelete;
//	}
//
//	public void setIsDelete(Integer isDelete) {
//		this.isDelete = isDelete;
//	}

}
